package com.telchina.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.telchina.common.domain.WoAttachment;

import java.util.List;

/**
 * 附件管理Mapper接口
 *
 * @author konghao
 * @date 2023-02-21
 */
public interface WoAttachmentMapper extends BaseMapper<WoAttachment> {
    /**
     * 分页查询附件管理列表
     *
     * param page             分页信息
     * @param woAttachment 附件管理信息
     * @return 附件管理集合
     */
    public IPage<WoAttachment> selectWoAttachmentPage(IPage<WoAttachment> page, WoAttachment woAttachment);

    /**
     * 查询所有附件管理列表
     *
     * @param woAttachment 附件管理信息
     * @return 附件管理集合
     */
    public List<WoAttachment> selectWoAttachmentList(WoAttachment woAttachment);
}
